package com.qfedu.biz;

import com.qfedu.entity.GoodsEntity;
import com.qfedu.entity.ShopCarEntity;
import com.qfedu.pojo.ShopCarPojo;

import java.util.List;
import java.util.Map;

public interface ShopCarBiz {
    //查找购物车
    public ShopCarEntity queryShopCar(int cid);

    //添加购物车
    public Boolean insertShopCar(ShopCarEntity shopCarEntity);
    //在购物车添加商品
    public Boolean insertShopcarAndGoods(Map<String,Object> map);
    //删除当前购物车商品
    public Boolean deleteByShopid(int scid);
    //跟新购物车数据
    public Boolean updateShopcar(Map<String,Object> map);
    //删除当前购物车的某个商品
    public Boolean deleteGoods(String gid,int scid);



}
